package com.freesky.biz.psbc.service;

import com.freesky.biz.psbc.domain.TPsbcParity;
import com.freesky.biz.psbc.domain.TPsbcParityItem;
import com.freesky.biz.psbc.domain.TPsbcStock;

import java.util.List;

/**
 * 业务配置 服务层
 *
 * @author freesky
 */
public interface IPsbcStockService {

    public TPsbcStock get(String id);

    public List<TPsbcStock> findList(TPsbcStock entity);

    public int insert(TPsbcStock entity);

    public int update(TPsbcStock entity);

    /**
     * 批量删除参数信息
     *
     * @param ids 需要删除的参数ID
     * @return 结果
     */
    public int deleteByIds(String[] ids);

    public void setPsbcStockToRedis(String key, TPsbcStock psbcStock);
}
